package com.gridmobi.xrtb.common;

import com.google.common.collect.Maps;

import java.util.Map;

public class GeoMap {
    public static Map<String, String> word3Map = Maps.newHashMap();
    public static Map<String, String> word2Map = Maps.newHashMap();

    static {
        word3Map.put("AND", "AD");
        word3Map.put("ARE", "AE");
        word3Map.put("AFG", "AF");
        word3Map.put("ATG", "AG");
        word3Map.put("AIA", "AI");
        word3Map.put("ALB", "AL");
        word3Map.put("ARM", "AM");
        word3Map.put("AGO", "AO");
        word3Map.put("ATA", "AQ");
        word3Map.put("ARG", "AR");
        word3Map.put("ASM", "AS");
        word3Map.put("AUT", "AT");
        word3Map.put("AUS", "AU");
        word3Map.put("ABW", "AW");
        word3Map.put("ALA", "AX");
        word3Map.put("AZE", "AZ");
        word3Map.put("BIH", "BA");
        word3Map.put("BRB", "BB");
        word3Map.put("BGD", "BD");
        word3Map.put("BEL", "BE");
        word3Map.put("BFA", "BF");
        word3Map.put("BGR", "BG");
        word3Map.put("BHR", "BH");
        word3Map.put("BDI", "BI");
        word3Map.put("BEN", "BJ");
        word3Map.put("BLM", "BL");
        word3Map.put("BMU", "BM");
        word3Map.put("BRN", "BN");
        word3Map.put("BOL", "BO");
        word3Map.put("BES", "BQ");
        word3Map.put("BRA", "BR");
        word3Map.put("BHS", "BS");
        word3Map.put("BTN", "BT");
        word3Map.put("BVT", "BV");
        word3Map.put("BWA", "BW");
        word3Map.put("BLR", "BY");
        word3Map.put("BLZ", "BZ");
        word3Map.put("CAN", "CA");
        word3Map.put("CCK", "CC");
        word3Map.put("CAF", "CF");
        word3Map.put("CHE", "CH");
        word3Map.put("CHL", "CL");
        word3Map.put("CMR", "CM");
        word3Map.put("COL", "CO");
        word3Map.put("CRI", "CR");
        word3Map.put("CUB", "CU");
        word3Map.put("CPV", "CV");
        word3Map.put("CXR", "CX");
        word3Map.put("CYP", "CY");
        word3Map.put("CZE", "CZ");
        word3Map.put("DEU", "DE");
        word3Map.put("DJI", "DJ");
        word3Map.put("DNK", "DK");
        word3Map.put("DMA", "DM");
        word3Map.put("DOM", "DO");
        word3Map.put("DZA", "DZ");
        word3Map.put("ECU", "EC");
        word3Map.put("EST", "EE");
        word3Map.put("EGY", "EG");
        word3Map.put("ESH", "EH");
        word3Map.put("ERI", "ER");
        word3Map.put("ESP", "ES");
        word3Map.put("FIN", "FI");
        word3Map.put("FJI", "FJ");
        word3Map.put("FLK", "FK");
        word3Map.put("FSM", "FM");
        word3Map.put("FRO", "FO");
        word3Map.put("FRA", "FR");
        word3Map.put("GAB", "GA");
        word3Map.put("GRD", "GD");
        word3Map.put("GEO", "GE");
        word3Map.put("GUF", "GF");
        word3Map.put("GHA", "GH");
        word3Map.put("GIB", "GI");
        word3Map.put("GRL", "GL");
        word3Map.put("GIN", "GN");
        word3Map.put("GLP", "GP");
        word3Map.put("GNQ", "GQ");
        word3Map.put("GRC", "GR");
        word3Map.put("SGS", "GS");
        word3Map.put("GTM", "GT");
        word3Map.put("GUM", "GU");
        word3Map.put("GNB", "GW");
        word3Map.put("GUY", "GY");
        word3Map.put("HKG", "HK");
        word3Map.put("HMD", "HM");
        word3Map.put("HND", "HN");
        word3Map.put("HRV", "HR");
        word3Map.put("HTI", "HT");
        word3Map.put("HUN", "HU");
        word3Map.put("IDN", "ID");
        word3Map.put("IRL", "IE");
        word3Map.put("ISR", "IL");
        word3Map.put("IMN", "IM");
        word3Map.put("IND", "IN");
        word3Map.put("IOT", "IO");
        word3Map.put("IRQ", "IQ");
        word3Map.put("IRN", "IR");
        word3Map.put("ISL", "IS");
        word3Map.put("ITA", "IT");
        word3Map.put("JEY", "JE");
        word3Map.put("JAM", "JM");
        word3Map.put("JOR", "JO");
        word3Map.put("JPN", "JP");
        word3Map.put("KHM", "KH");
        word3Map.put("KIR", "KI");
        word3Map.put("COM", "KM");
        word3Map.put("KWT", "KW");
        word3Map.put("CYM", "KY");
        word3Map.put("LBN", "LB");
        word3Map.put("LIE", "LI");
        word3Map.put("LKA", "LK");
        word3Map.put("LBR", "LR");
        word3Map.put("LSO", "LS");
        word3Map.put("LTU", "LT");
        word3Map.put("LUX", "LU");
        word3Map.put("LVA", "LV");
        word3Map.put("LBY", "LY");
        word3Map.put("MAR", "MA");
        word3Map.put("MCO", "MC");
        word3Map.put("MDA", "MD");
        word3Map.put("MNE", "ME");
        word3Map.put("MAF", "MF");
        word3Map.put("MDG", "MG");
        word3Map.put("MHL", "MH");
        word3Map.put("MKD", "MK");
        word3Map.put("MLI", "ML");
        word3Map.put("MMR", "MM");
        word3Map.put("MAC", "MO");
        word3Map.put("MTQ", "MQ");
        word3Map.put("MRT", "MR");
        word3Map.put("MSR", "MS");
        word3Map.put("MLT", "MT");
        word3Map.put("MDV", "MV");
        word3Map.put("MWI", "MW");
        word3Map.put("MEX", "MX");
        word3Map.put("MYS", "MY");
        word3Map.put("NAM", "NA");
        word3Map.put("NER", "NE");
        word3Map.put("NFK", "NF");
        word3Map.put("NGA", "NG");
        word3Map.put("NIC", "NI");
        word3Map.put("NLD", "NL");
        word3Map.put("NOR", "NO");
        word3Map.put("NPL", "NP");
        word3Map.put("NRU", "NR");
        word3Map.put("OMN", "OM");
        word3Map.put("PAN", "PA");
        word3Map.put("PER", "PE");
        word3Map.put("PYF", "PF");
        word3Map.put("PNG", "PG");
        word3Map.put("PHL", "PH");
        word3Map.put("PAK", "PK");
        word3Map.put("POL", "PL");
        word3Map.put("PCN", "PN");
        word3Map.put("PRI", "PR");
        word3Map.put("PSE", "PS");
        word3Map.put("PLW", "PW");
        word3Map.put("PRY", "PY");
        word3Map.put("QAT", "QA");
        word3Map.put("REU", "RE");
        word3Map.put("ROU", "RO");
        word3Map.put("SRB", "RS");
        word3Map.put("RUS", "RU");
        word3Map.put("RWA", "RW");
        word3Map.put("SLB", "SB");
        word3Map.put("SYC", "SC");
        word3Map.put("SDN", "SD");
        word3Map.put("SWE", "SE");
        word3Map.put("SGP", "SG");
        word3Map.put("SVN", "SI");
        word3Map.put("SJM", "SJ");
        word3Map.put("SVK", "SK");
        word3Map.put("SLE", "SL");
        word3Map.put("SMR", "SM");
        word3Map.put("SEN", "SN");
        word3Map.put("SOM", "SO");
        word3Map.put("SUR", "SR");
        word3Map.put("SSD", "SS");
        word3Map.put("STP", "ST");
        word3Map.put("SLV", "SV");
        word3Map.put("SYR", "SY");
        word3Map.put("SWZ", "SZ");
        word3Map.put("TCA", "TC");
        word3Map.put("TCD", "TD");
        word3Map.put("TGO", "TG");
        word3Map.put("THA", "TH");
        word3Map.put("TKL", "TK");
        word3Map.put("TLS", "TL");
        word3Map.put("TUN", "TN");
        word3Map.put("TON", "TO");
        word3Map.put("TUR", "TR");
        word3Map.put("TUV", "TV");
        word3Map.put("TZA", "TZ");
        word3Map.put("UKR", "UA");
        word3Map.put("UGA", "UG");
        word3Map.put("USA", "US");
        word3Map.put("URY", "UY");
        word3Map.put("VAT", "VA");
        word3Map.put("VEN", "VE");
        word3Map.put("VGB", "VG");
        word3Map.put("VIR", "VI");
        word3Map.put("VNM", "VN");
        word3Map.put("WLF", "WF");
        word3Map.put("WSM", "WS");
        word3Map.put("YEM", "YE");
        word3Map.put("MYT", "YT");
        word3Map.put("ZAF", "ZA");
        word3Map.put("ZMB", "ZM");
        word3Map.put("ZWE", "ZW");
        word3Map.put("CHN", "CN");
        word3Map.put("COG", "CG");
        word3Map.put("COD", "CD");
        word3Map.put("MOZ", "MZ");
        word3Map.put("GGY", "GG");
        word3Map.put("GMB", "GM");
        word3Map.put("MNP", "MP");
        word3Map.put("ETH", "ET");
        word3Map.put("NCL", "NC");
        word3Map.put("VUT", "VU");
        word3Map.put("ATF", "TF");
        word3Map.put("NIU", "NU");
        word3Map.put("UMI", "UM");
        word3Map.put("COK", "CK");
        word3Map.put("GBR", "GB");
        word3Map.put("TTO", "TT");
        word3Map.put("VCT", "VC");
        word3Map.put("TWN", "TW");
        word3Map.put("NZL", "NZ");
        word3Map.put("SAU", "SA");
        word3Map.put("LAO", "LA");
        word3Map.put("PRK", "KP");
        word3Map.put("KOR", "KR");
        word3Map.put("PRT", "PT");
        word3Map.put("KGZ", "KG");
        word3Map.put("KAZ", "KZ");
        word3Map.put("TJK", "TJ");
        word3Map.put("TKM", "TM");
        word3Map.put("UZB", "UZ");
        word3Map.put("KNA", "KN");
        word3Map.put("SPM", "PM");
        word3Map.put("SHN", "SH");
        word3Map.put("LCA", "LC");
        word3Map.put("MUS", "MU");
        word3Map.put("CIV", "CI");
        word3Map.put("KEN", "KE");
        word3Map.put("MNG", "MN");

        word3Map.put("KSA", "SA");

        word2Map.put("AD", "AND");
        word2Map.put("AE", "ARE");
        word2Map.put("AF", "AFG");
        word2Map.put("AG", "ATG");
        word2Map.put("AI", "AIA");
        word2Map.put("AL", "ALB");
        word2Map.put("AM", "ARM");
        word2Map.put("AO", "AGO");
        word2Map.put("AQ", "ATA");
        word2Map.put("AR", "ARG");
        word2Map.put("AS", "ASM");
        word2Map.put("AT", "AUT");
        word2Map.put("AU", "AUS");
        word2Map.put("AW", "ABW");
        word2Map.put("AX", "ALA");
        word2Map.put("AZ", "AZE");
        word2Map.put("BA", "BIH");
        word2Map.put("BB", "BRB");
        word2Map.put("BD", "BGD");
        word2Map.put("BE", "BEL");
        word2Map.put("BF", "BFA");
        word2Map.put("BG", "BGR");
        word2Map.put("BH", "BHR");
        word2Map.put("BI", "BDI");
        word2Map.put("BJ", "BEN");
        word2Map.put("BL", "BLM");
        word2Map.put("BM", "BMU");
        word2Map.put("BN", "BRN");
        word2Map.put("BO", "BOL");
        word2Map.put("BQ", "BES");
        word2Map.put("BR", "BRA");
        word2Map.put("BS", "BHS");
        word2Map.put("BT", "BTN");
        word2Map.put("BV", "BVT");
        word2Map.put("BW", "BWA");
        word2Map.put("BY", "BLR");
        word2Map.put("BZ", "BLZ");
        word2Map.put("CA", "CAN");
        word2Map.put("CC", "CCK");
        word2Map.put("CF", "CAF");
        word2Map.put("CH", "CHE");
        word2Map.put("CL", "CHL");
        word2Map.put("CM", "CMR");
        word2Map.put("CO", "COL");
        word2Map.put("CR", "CRI");
        word2Map.put("CU", "CUB");
        word2Map.put("CV", "CPV");
        word2Map.put("CX", "CXR");
        word2Map.put("CY", "CYP");
        word2Map.put("CZ", "CZE");
        word2Map.put("DE", "DEU");
        word2Map.put("DJ", "DJI");
        word2Map.put("DK", "DNK");
        word2Map.put("DM", "DMA");
        word2Map.put("DO", "DOM");
        word2Map.put("DZ", "DZA");
        word2Map.put("EC", "ECU");
        word2Map.put("EE", "EST");
        word2Map.put("EG", "EGY");
        word2Map.put("EH", "ESH");
        word2Map.put("ER", "ERI");
        word2Map.put("ES", "ESP");
        word2Map.put("FI", "FIN");
        word2Map.put("FJ", "FJI");
        word2Map.put("FK", "FLK");
        word2Map.put("FM", "FSM");
        word2Map.put("FO", "FRO");
        word2Map.put("FR", "FRA");
        word2Map.put("GA", "GAB");
        word2Map.put("GD", "GRD");
        word2Map.put("GE", "GEO");
        word2Map.put("GF", "GUF");
        word2Map.put("GH", "GHA");
        word2Map.put("GI", "GIB");
        word2Map.put("GL", "GRL");
        word2Map.put("GN", "GIN");
        word2Map.put("GP", "GLP");
        word2Map.put("GQ", "GNQ");
        word2Map.put("GR", "GRC");
        word2Map.put("GS", "SGS");
        word2Map.put("GT", "GTM");
        word2Map.put("GU", "GUM");
        word2Map.put("GW", "GNB");
        word2Map.put("GY", "GUY");
        word2Map.put("HK", "HKG");
        word2Map.put("HM", "HMD");
        word2Map.put("HN", "HND");
        word2Map.put("HR", "HRV");
        word2Map.put("HT", "HTI");
        word2Map.put("HU", "HUN");
        word2Map.put("ID", "IDN");
        word2Map.put("IE", "IRL");
        word2Map.put("IL", "ISR");
        word2Map.put("IM", "IMN");
        word2Map.put("IN", "IND");
        word2Map.put("IO", "IOT");
        word2Map.put("IQ", "IRQ");
        word2Map.put("IR", "IRN");
        word2Map.put("IS", "ISL");
        word2Map.put("IT", "ITA");
        word2Map.put("JE", "JEY");
        word2Map.put("JM", "JAM");
        word2Map.put("JO", "JOR");
        word2Map.put("JP", "JPN");
        word2Map.put("KH", "KHM");
        word2Map.put("KI", "KIR");
        word2Map.put("KM", "COM");
        word2Map.put("KW", "KWT");
        word2Map.put("KY", "CYM");
        word2Map.put("LB", "LBN");
        word2Map.put("LI", "LIE");
        word2Map.put("LK", "LKA");
        word2Map.put("LR", "LBR");
        word2Map.put("LS", "LSO");
        word2Map.put("LT", "LTU");
        word2Map.put("LU", "LUX");
        word2Map.put("LV", "LVA");
        word2Map.put("LY", "LBY");
        word2Map.put("MA", "MAR");
        word2Map.put("MC", "MCO");
        word2Map.put("MD", "MDA");
        word2Map.put("ME", "MNE");
        word2Map.put("MF", "MAF");
        word2Map.put("MG", "MDG");
        word2Map.put("MH", "MHL");
        word2Map.put("MK", "MKD");
        word2Map.put("ML", "MLI");
        word2Map.put("MM", "MMR");
        word2Map.put("MO", "MAC");
        word2Map.put("MQ", "MTQ");
        word2Map.put("MR", "MRT");
        word2Map.put("MS", "MSR");
        word2Map.put("MT", "MLT");
        word2Map.put("MV", "MDV");
        word2Map.put("MW", "MWI");
        word2Map.put("MX", "MEX");
        word2Map.put("MY", "MYS");
        word2Map.put("NA", "NAM");
        word2Map.put("NE", "NER");
        word2Map.put("NF", "NFK");
        word2Map.put("NG", "NGA");
        word2Map.put("NI", "NIC");
        word2Map.put("NL", "NLD");
        word2Map.put("NO", "NOR");
        word2Map.put("NP", "NPL");
        word2Map.put("NR", "NRU");
        word2Map.put("OM", "OMN");
        word2Map.put("PA", "PAN");
        word2Map.put("PE", "PER");
        word2Map.put("PF", "PYF");
        word2Map.put("PG", "PNG");
        word2Map.put("PH", "PHL");
        word2Map.put("PK", "PAK");
        word2Map.put("PL", "POL");
        word2Map.put("PN", "PCN");
        word2Map.put("PR", "PRI");
        word2Map.put("PS", "PSE");
        word2Map.put("PW", "PLW");
        word2Map.put("PY", "PRY");
        word2Map.put("QA", "QAT");
        word2Map.put("RE", "REU");
        word2Map.put("RO", "ROU");
        word2Map.put("RS", "SRB");
        word2Map.put("RU", "RUS");
        word2Map.put("RW", "RWA");
        word2Map.put("SB", "SLB");
        word2Map.put("SC", "SYC");
        word2Map.put("SD", "SDN");
        word2Map.put("SE", "SWE");
        word2Map.put("SG", "SGP");
        word2Map.put("SI", "SVN");
        word2Map.put("SJ", "SJM");
        word2Map.put("SK", "SVK");
        word2Map.put("SL", "SLE");
        word2Map.put("SM", "SMR");
        word2Map.put("SN", "SEN");
        word2Map.put("SO", "SOM");
        word2Map.put("SR", "SUR");
        word2Map.put("SS", "SSD");
        word2Map.put("ST", "STP");
        word2Map.put("SV", "SLV");
        word2Map.put("SY", "SYR");
        word2Map.put("SZ", "SWZ");
        word2Map.put("TC", "TCA");
        word2Map.put("TD", "TCD");
        word2Map.put("TG", "TGO");
        word2Map.put("TH", "THA");
        word2Map.put("TK", "TKL");
        word2Map.put("TL", "TLS");
        word2Map.put("TN", "TUN");
        word2Map.put("TO", "TON");
        word2Map.put("TR", "TUR");
        word2Map.put("TV", "TUV");
        word2Map.put("TZ", "TZA");
        word2Map.put("UA", "UKR");
        word2Map.put("UG", "UGA");
        word2Map.put("US", "USA");
        word2Map.put("UY", "URY");
        word2Map.put("VA", "VAT");
        word2Map.put("VE", "VEN");
        word2Map.put("VG", "VGB");
        word2Map.put("VI", "VIR");
        word2Map.put("VN", "VNM");
        word2Map.put("WF", "WLF");
        word2Map.put("WS", "WSM");
        word2Map.put("YE", "YEM");
        word2Map.put("YT", "MYT");
        word2Map.put("ZA", "ZAF");
        word2Map.put("ZM", "ZMB");
        word2Map.put("ZW", "ZWE");
        word2Map.put("CN", "CHN");
        word2Map.put("CG", "COG");
        word2Map.put("CD", "COD");
        word2Map.put("MZ", "MOZ");
        word2Map.put("GG", "GGY");
        word2Map.put("GM", "GMB");
        word2Map.put("MP", "MNP");
        word2Map.put("ET", "ETH");
        word2Map.put("NC", "NCL");
        word2Map.put("VU", "VUT");
        word2Map.put("TF", "ATF");
        word2Map.put("NU", "NIU");
        word2Map.put("UM", "UMI");
        word2Map.put("CK", "COK");
        word2Map.put("GB", "GBR");
        word2Map.put("TT", "TTO");
        word2Map.put("VC", "VCT");
        word2Map.put("TW", "TWN");
        word2Map.put("NZ", "NZL");
        word2Map.put("SA", "SAU");
        word2Map.put("LA", "LAO");
        word2Map.put("KP", "PRK");
        word2Map.put("KR", "KOR");
        word2Map.put("PT", "PRT");
        word2Map.put("KG", "KGZ");
        word2Map.put("KZ", "KAZ");
        word2Map.put("TJ", "TJK");
        word2Map.put("TM", "TKM");
        word2Map.put("UZ", "UZB");
        word2Map.put("KN", "KNA");
        word2Map.put("PM", "SPM");
        word2Map.put("SH", "SHN");
        word2Map.put("LC", "LCA");
        word2Map.put("MU", "MUS");
        word2Map.put("CI", "CIV");
        word2Map.put("KE", "KEN");
        word2Map.put("MN", "MNG");

    }
}
